﻿<script language ="javascript" type="text/javascript" >
    <!--
      var tab1Pre = "images/gwgl_dcb_";
      var tab2Pre = "images/gwgl_cbjl_";
      var tab3Pre = "images/gwgl_lzz_";
      var tab4Pre = "";

      if (document.layers)
      {
    	layerRef="document.layers.";
      }

      function showLayer(layerName)
        {
	    if(document.layers)
	    {
		  eval(layerRef+layerName+'.visibility="visible"');
	    }
	    else
	    {
		  eval('document.getElementById('+ "'" + layerName + "'" +').style.visibility = "visible"');
	    }
      }
 	
      function hideLayer(layerName)
      {
	    if(document.layers)
	    {
		   eval(layerRef+layerName+'.visibility="hidden"');
	    }
	    else
	    {
		  eval('document.getElementById('+ "'" + layerName + "'" +').style.visibility = "hidden"');		
	    }
      }
      var activeImgName = "img1";
      var loaded = false;

      if (document.images)
      {
        img1off = new Image();img1off.src = tab1Pre + "off.gif";
        img2off = new Image();img2off.src = tab2Pre + "off.gif";
        img3off = new Image();img3off.src = tab3Pre + "off.gif";
        img1on = new Image();img1on.src = tab1Pre + "on.gif";
        img2on = new Image();img2on.src = tab2Pre + "on.gif";
        img3on = new Image();img3on.src = tab3Pre + "on.gif";
      }
     
      function updateTabs(imgName)
       {
	     if(imgName == activeImgName)
		    return;
		
 	     if (document.images)
 	     {
		   document[imgName].src = eval(imgName+"on.src");
           document[activeImgName].src = eval(activeImgName+"off.src");
		   activeImgName = imgName;
         }
       }
      //-->
    </script>